package com.ruoyi.operation.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 来自finchina的汇率业务对象
 *
 * @author ruoyi
 * @date 2025-09-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TExchangerateBo extends BaseEntity {

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String natureday;

    /**
     * 三位本币币种代码
     */
    @NotBlank(message = "三位本币币种代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String originalcurrency;

    /**
     * 三位外币币种代码
     */
    @NotBlank(message = "三位外币币种代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String valuationcurrency;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal exchangerate;


}
